# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=asn
pkgver=0.76.1
pkgrel=0
pkgdesc="ASN Lookup Tool and Traceroute Server"
url="https://github.com/nitefood/asn/"
arch="noarch"
license="MIT"
depends="bash
	ncurses
	nmap
	nmap-ncat
	mtr
	aha
	curl
	whois
	grepcidr3
	coreutils
	ipcalc
	bind-tools
	jq"
options="!check" # no tests
source="$pkgname-$pkgver.tar.gz::https://github.com/nitefood/asn/archive/refs/tags/v$pkgver.tar.gz"

build() {
	return 0
}

package() {
	install -Dm0755 asn "$pkgdir"/usr/bin/asn
}

sha512sums="
c1460a9847a63691bcbf4dfd44a847a38daabadaa777e25190b587ea7d653ca3c1b76c1c3a37035cae56d1710e65280423c1a25c6f35a01a5697a56cc2ef7e91  asn-0.76.1.tar.gz
"
